package com.bjpowernode.java;

public class FootballPlayer {
    private String name;
    private String position;
    private String country;

    public FootballPlayer() {
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    @Override
    public String toString() {
        return "FootballPlayer{" +
                "name='" + name + '\'' +
                ", position='" + position + '\'' +
                ", country='" + country + '\'' +
                '}';
    }
}
class Test{
    public static void main(String[] args) {
        FootballPlayer footballPlayer = new FootballPlayer();
        footballPlayer.setName("李某");
        footballPlayer.setPosition("中卫");
        footballPlayer.setCountry("中国");
        System.out.println(footballPlayer);
    }
}